\defmodule{EmptyRandomization}

This class implements an empty
\externalclass{umontreal.iro.lecuyer.hups}{PointSetRandomization}.
 The method \method{randomize}{PointSet} does nothing.
The internal stream is never used.
This class can be used in methods where a randomization is needed
but you don't want one.

\bigskip\hrule\bigskip
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{code}
\begin{hide}
/*
 * Class:        EmptyRandomization
 * Description:  implements an empty PointSetRandomization
 * Environment:  Java
 * Software:     SSJ 
 * Copyright (C) 2001  Pierre L'Ecuyer and Universite de Montreal
 * Organization: DIRO, Universite de Montreal
 * @author       
 * @since

 * SSJ is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License (GPL) as published by the
 * Free Software Foundation, either version 3 of the License, or
 * any later version.

 * SSJ is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * A copy of the GNU General Public License is available at
   <a href="http://www.gnu.org/licenses">GPL licence site</a>.
 */
\end{hide}
package umontreal.iro.lecuyer.hups;
\begin{hide}
 import umontreal.iro.lecuyer.rng.MRG32k3a;
 import umontreal.iro.lecuyer.rng.RandomStream;

\end{hide}
public class EmptyRandomization implements PointSetRandomization\begin{hide} {
   protected RandomStream stream = new MRG32k3a();
\end{hide}
\end{code}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsubsection*{Methods}
\begin{code}

   public void randomize (PointSet p) \begin{hide} {
      // Does nothing
   } \end{hide}
\end{code}
\begin{tabb}
   This method does nothing.
\end{tabb}
\begin{htmlonly}
   \param{p}{Point set to randomize}
\end{htmlonly}
\begin{code}

   public void setStream (RandomStream stream) \begin{hide} {
      this.stream = stream;
   } \end{hide}
\end{code}
\begin{tabb}
   Sets the internal
   \externalclass{umontreal.iro.lecuyer.rng}{RandomStream} to
   \texttt{stream}.
\end{tabb}
\begin{htmlonly}
   \param{stream}{stream to use in the randomization}
\end{htmlonly}
\begin{code}

   public RandomStream getStream() \begin{hide} {
      return stream;
   } \end{hide}
\end{code}
\begin{tabb}
   Returns the internal
   \externalclass{umontreal.iro.lecuyer.rng}{RandomStream}.
\end{tabb}
\begin{htmlonly}
   \return{stream used in the randomization}
\end{htmlonly}
\begin{code}\begin{hide}
}
\end{hide}\end{code}
